package me.zhengjie.modules.service;

import me.zhengjie.modules.domain.Api;

import java.util.List;
import java.util.Map;

public interface ApiService {

    int saveCreateApi(Api api);

    List<Api> queryAllApiByPageForConditions(Map<String,Object> map);
    int queryAllByPageForConditionsToTotal(Map<String,Object> map);

    int saveEditApi(Api api);

    int removeApiById(Api api);

    Api queryApiById(Long id);

    Api queryApiByVariableName(String VariableName);
}
